-
Notifications
You must be signed in to change notification settings - Fork 0
upgrade jobs to v31 - drop v29 support #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
copied latest https://github.com/nextcloud/.github in order to avoid hardcoded stable* branches Signed-off-by: Misha M.-Kupriyanov <[email protected]>
drop v29 support Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Signed-off-by: Misha M.-Kupriyanov <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR upgrades Nextcloud OCP dependencies to v31 and removes support for v29, while modernizing GitHub Actions workflows across the repository.
- Bumps
nextcloud/ocpdev dependency to v31.0.6 and updates app metadata to drop v29 support. - Updates all CI workflows with current action versions, SPDX headers, permissions, and optimized matrix strategies.
- Adds PHP version enforcement checks in Psalm and refines dependency installation steps in workflows.
Reviewed Changes
Copilot reviewed 13 out of 17 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| lib/AppInfo/Application.php | Added blank line to improve license header formatting |
| composer.json | Bumped development dependency nextcloud/ocp to v31.0.6 |
| appinfo/info.xml | Updated <nextcloud> min-version from 29 to 30 (dropped v29 support) |
| .github/workflows/update-nextcloud-ocp-matrix.yml | Upgraded checkout & setup-php actions, switched matrix to default branch |
| .github/workflows/update-nextcloud-ocp-approve-merge.yml | Added fork guard, bumped action versions, updated runs-on |
| .github/workflows/psalm-matrix.yml | Added SPDX header, bumped action versions, enforced PHP version in psalm |
| .github/workflows/phpunit-sqlite.yml | Modernized template, added file-existence checks, updated action versions |
| .github/workflows/phpunit-mysql.yml | Similar modernization for MySQL workflow with matrix and checks |
| .github/workflows/lint-php.yml | Updated checkout & setup-php steps, standardized runs-on |
| .github/workflows/lint-php-cs.yml | Updated checkout & setup-php steps with persist-credentials |
| .github/workflows/lint-info-xml.yml | Updated checkout step and SPDX header |
| .github/workflows/fixup.yml | Bumped action version, updated runs-on |
| .github/workflows/block-unconventional-commits.yml | Bumped action version, updated runs-on |
Comments suppressed due to low confidence (2)
.github/workflows/psalm-matrix.yml:36
- The grep pattern lacks a closing double quote and may not match the full
phpVersionattribute; update to include the trailing", for examplegrep 'phpVersion="${{ steps.versions.outputs.php-min }}"' psalm.xml.
run: grep 'phpVersion="${{ steps.versions.outputs.php-min }}' psalm.xml
appinfo/info.xml:14
- [nitpick] The app metadata still allows Nextcloud 30 despite the dev dependency being bumped to OCP v31 only; consider aligning
min-versionto 31 or adjust the dependency requirement to include v30 if backward compatibility is intended.
<nextcloud min-version="30" max-version="31"/>
f494cc2 to
ad5f185
Compare
No description provided.